import React from 'react';
// 高，中，低，未知，安全，认证，味认证

export default function SvgIcon({ active }) {
	const active_ = active * 1;
	switch (active_) {
		case 1:
			return (
				<svg
					width="17px"
					height="18px"
					viewBox="0 0 17 18"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g id="Web资产列表" transform="translate(-694.000000, -501.000000)">
							<image
								id="位图"
								x="693"
								y="500"
								width="20"
								height="20"
								xlinkHref=""
							></image>
						</g>
					</g>
				</svg>
			);
		case 2:
			return (
				<svg
					width="13px"
					height="15px"
					viewBox="0 0 13 15"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<defs>
						<rect
							x="696"
							y="400"
							width="16"
							height="16"
							id="rect-5yndxr1up1-1"
						></rect>
					</defs>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g id="位图备份-2" transform="translate(-697.000000, -400.000000)">
							<image
								x="696"
								y="400"
								width="16"
								height="16"
								xlinkHref=""
							></image>
							<use
								fill="#F5A92C"
								fillRule="evenodd"
								xlinkHref="#rect-5yndxr1up1-1"
							></use>
						</g>
					</g>
				</svg>
			);
		case 3:
			return (
				<svg
					width="13px"
					height="15px"
					viewBox="0 0 13 15"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<defs>
						<rect
							x="695"
							y="460"
							width="16"
							height="16"
							id="rect-zs3arsd5x2-1"
						></rect>
					</defs>
					<g
						id="web资产管理-0902"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g id="位图备份" transform="translate(-696.000000, -460.000000)">
							<image
								x="695"
								y="460"
								width="16"
								height="16"
								xlinkHref=""
							></image>
							<use
								fill="#EFDE16"
								fillRule="evenodd"
								xlinkHref="#rect-zs3arsd5x2-1"
							></use>
						</g>
					</g>
				</svg>
			);
		case 4:
			return (
				<svg
					width="13px"
					height="15px"
					viewBox="0 0 13 15"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<defs>
						<rect
							x="696"
							y="353"
							width="16"
							height="16"
							id="rect-nn2p1gw2_p-1"
						></rect>
					</defs>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g id="位图备份-3" transform="translate(-697.000000, -353.000000)">
							<image
								x="696"
								y="353"
								width="16"
								height="16"
								xlinkHref=""
							></image>
							<use
								fill="#8C8A84"
								fillRule="evenodd"
								xlinkHref="#rect-nn2p1gw2_p-1"
							></use>
						</g>
					</g>
				</svg>
			);
		case 5:
			return (
				<svg
					width="14px"
					height="16px"
					viewBox="0 0 14 16"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g id="Web资产列表" transform="translate(-700.000000, -290.000000)">
							<image
								id="位图"
								x="698"
								y="289"
								width="18"
								height="18"
								xlinkHref=""
							></image>
						</g>
					</g>
				</svg>
			);
		case 6:
			return (
				<svg
					width="16px"
					height="16px"
					viewBox="0 0 16 16"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g
							id="Web资产列表"
							transform="translate(-1075.000000, -289.000000)"
						>
							<image
								id="位图备份-5"
								x="1075"
								y="289"
								width="16"
								height="16"
								xlinkHref=""
							></image>
						</g>
					</g>
				</svg>
			);
		case 7:
			return (
				<svg
					width="18px"
					height="18px"
					viewBox="0 0 18 18"
					version="1.1"
					xmlns="http://www.w3.org/2000/svg"
					xmlnsXlink="http://www.w3.org/1999/xlink"
				>
					<g
						id="资产管理-Web资产"
						stroke="none"
						strokeWidth="1"
						fill="none"
						fillRule="evenodd"
					>
						<g
							id="Web资产列表"
							transform="translate(-1071.000000, -347.000000)"
						>
							<image
								id="位图"
								x="1070"
								y="346"
								width="18"
								height="18"
								xlinkHref=""
							></image>
						</g>
					</g>
				</svg>
			);
		case 8:
			return (
				<svg style={{ display: 'inline-block', verticalAlign: 'middle' }} width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="资产" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="Web资产列表" transform="translate(-1030.000000, -297.000000)" fill="#11AB4E">
										<g id="icon/面性/操作编辑类/正确备份" transform="translate(1030.000000, 297.000000)">
												<path d="M8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278 12.418278,16 8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 Z M11.8186147,5.49509379 L12.7614237,6.43790283 L7.1045695,12.0947571 L3.33333333,8.32352092 L4.27614237,7.38071187 L7.104,10.2086667 L11.8186147,5.49509379 Z" id="形状"></path>
										</g>
								</g>
						</g>
				</svg>
			)
		case 9:
			return (
				<svg style={{ display: 'inline-block', verticalAlign: 'middle' }} width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="资产" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="Web资产列表" transform="translate(-1030.000000, -351.000000)" fill="#F04038">
										<g id="icon/面性/操作编辑类/错误备份" transform="translate(1030.000000, 351.000000)">
												<path d="M8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278 12.418278,16 8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 Z M10.8284271,4.22876383 L11.7712362,5.17157288 L8.94266667,8 L11.7712362,10.8284271 L10.8284271,11.7712362 L8,8.94266667 L5.17157288,11.7712362 L4.22876383,10.8284271 L7.05733333,8 L4.22876383,5.17157288 L5.17157288,4.22876383 L8,7.05733333 L10.8284271,4.22876383 Z" id="形状"></path>
										</g>
								</g>
						</g>
				</svg>
			)
			default:
			return null;
	}
}
